﻿using System;
using System.Collections.Generic;
using System.Text;

namespace DotNetExtensions.Core.Invoker
{
    [AttributeUsage(AttributeTargets.Property | AttributeTargets.Class)]
    public class DescriptionAttribute : Attribute
    {
        public string Description { get; set; }
        public object DefaultValue { get; set; }
        public DescriptionAttribute(string desctiption)
        {
            Description = desctiption;
        }
        public DescriptionAttribute(string desctiption,object defaultValue)
        {
            Description = desctiption;
            DefaultValue = defaultValue;
        }
    }
}
